﻿@model IEnumerable<KKU.RBSFPP.Shared.DAC.Factor>

@{
    ViewBag.Title = "Index";
}

@Html.Partial("_FactorManagement")

<table class="table table-hover">
    <tr>
        <th>
            @Html.DisplayNameFor(model => model.FactorName)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.Description)
        </th>
        <th>
            @Html.DisplayNameFor(model => model.CreateOn)
        </th>
       @* <th>
            @Html.DisplayNameFor(model => model.DeleteOn)
        </th>*@
       @* <th></th>*@
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Description)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.FactorValues)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.CreateOn)
        </td>
      @*  <td>
            @Html.DisplayFor(modelItem => item.DeleteOn)
        </td>*@
       @* <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.FactorId }) |
            @Html.ActionLink("Details", "Details", new { id=item.FactorId }) |
            @Html.ActionLink("Delete", "Delete", new { id=item.FactorId })
        </td>*@
    </tr>
}

</table>
